package com.pdg.mcplugin.spawnsurance;

public enum PaySource {
	DEFAULT("DEFAULT"),
	VAULT("VAULT");
	private String stringValue;
	PaySource(String theStringValue){
		setStringValue(theStringValue);
	}
	private void setStringValue(String theStringValue) {
		stringValue = theStringValue;
	}
	public static PaySource parsePaySource(String theString){
		if(theString.compareToIgnoreCase(VAULT.getStringValue())==0){
			return VAULT;
		}else{
			return DEFAULT;
		}
	}
	public String getStringValue() {
		return stringValue;
	}
}
